package com.sinry.api.client.feign.aggregation;

import com.sinry.common.core.domain.dto.ApiRegisterDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author linxinlei
 * @project sinry-cloud
 * @description API聚合平台操作接口
 * @date 2022/5/28
 **/
@FeignClient(value = "sinry-api-aggregation", path = "/swagger/data")
public interface SwaggerDataApiClient {

    @PostMapping("/save")
    void save(@RequestBody ApiRegisterDto dto);
}
